package com.augurit.gzcgwsp.ywcmn.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import com.augurit.gzcgwsp.common.entity.BaseBusEntity;

@Entity
@Table(name = "YW_DZGZ_LIST")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class YwDzgzList implements java.io.Serializable {
	
	// 属性
	@Id
    @Column(name = "ID")
    @SequenceGenerator(name="SEQ_YW_DZGZ_LIST", sequenceName="SEQ_YW_DZGZ_LIST", allocationSize=1)
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SEQ_YW_DZGZ_LIST")
	private Long id;
	
	private Long ajid;
	
	private String filename;
	private String templateCode;
	private String filepath;
	private String username;//上传人
	private Date uploaddate;//上传时间
	
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Date getUploaddate() {
		return uploaddate;
	}

	public void setUploaddate(Date uploaddate) {
		this.uploaddate = uploaddate;
	}

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	public Long getAjid() {
		return this.ajid;
	}

	public void setAjid(Long ajid) {
		this.ajid = ajid;
	}
	public String getFilename() {
		return this.filename;
	}

	public void setFilename(String filename) {
		this.filename = filename;
	}
	public String getFilepath() {
		return this.filepath;
	}

	public void setFilepath(String filepath) {
		this.filepath = filepath;
	}

	public String getTemplateCode() {
		return templateCode;
	}

	public void setTemplateCode(String templateCode) {
		this.templateCode = templateCode;
	}
}